package com.example.sup.constans;

/**
 * @ClassName UserInfoRoleEnum
 * @Description {TODO}
 * @Author 李哲
 * @Date 16:13 2024/7/30
 * @Version 1.0
 */
public enum UserInfoRoleEnum {
    ADMIN(1,"管理员"),
    USER(2,"普通用户");
    private Integer code;
    private String  msg;
    private UserInfoRoleEnum(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
